package com.xiaomaoguai.hessian.annotation;

import org.springframework.stereotype.Service;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * hessian接口注解，标注在hessian接口上 ,带有@Service 方便扫描处理
 *
 * @ ClassName: HessianPath.java
 * @ Author: WeiHui-Z
 * @ Date: 2017/2/20 15:54
 * @ Version: v1.0.0
 */
@Inherited
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Service
public @interface HessianPath {

	/**
	 * @return hessian接口描述
	 */
	String value() default "";
}